#include <gtest/gtest.h>

#include "../Src/Design/Design.h"
#include "../Src/Data/UIData.h"
#include "../Src/Data/ModelData.h"

// 梯形数据计算测试
TEST(TestTrapezoidDesign, test_TrapezoidDesign_1)
{    
    UIData uiData;
    //..

    ModelData MresultData;
    //..

    ModelData modelData;
    Design::TrapezoidDesign(modelData, &uiData);
    EXPECT_EQ(modelData, MresultData);
}
// .. ×5


// 延伸数据计算测试
TEST(TestExtrudeDesign, test_ExtrudeDesign_1)
{
    UIData uiData;
    //..

    ModelData MresultData;
    //..

    ModelData modelData;
    Design::TrapezoidDesign(modelData, &uiData);
    EXPECT_EQ(modelData, MresultData);
}
// .. ×5